<div class="container-fluid">
		<div class="row-fluid container_bg">
		<div class="container_plr">
			<div class="container_title pos_r">
				<div><h1>Request for shop registration</h1></div>
				<span style="color:red;">{{errorDiv}}</span>
				<span style="color:green;">{{sucessDiv}}</span>
				<p class="mar_top"></p>
				<div class="row mar_top">
				<div class="span12 brg">
				<div class="h2_title_bg"><h2>Your Personal Details</h2></div>
				<form class="form-horizontal mar_top" id="shopRegistration" name="shopRegistration" ng-submit="shopRegisterForm(shopRegistration)" >
					<div class="control-group">
						<label class="control-label" for="inputUser">Shop Name</label>
						<div class="controls">
						<input type="text" class="span8" id="shopName" name="shopName" placeholder="Please Enter Shop Name " ng-model="shop.shopName" required />
						<span class="error" ng-show="shopRegistration.shopName.$error.required"></span>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="inputEmail">Email ID</label>
						<div class="controls">
						<input type="email" class="span8" id="inputEmail" name="inputEmail" placeholder="Please Enter Email ID" ng-model="shop.inputEmail" required />
						<span class="error" ng-show="shopRegistration.inputEmail.$error.required"></span>
						<span class="error" ng-show="shopRegistration.inputEmail.$error.email"></span>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="inputPh">Phonenumber</label>
						<div class="controls">
						<input type="text" class="span8" id="inputTelephone" name="inputTelephone" placeholder="Please Enter Telephone Number" ng-model="shop.inputTelephone" required >
						<span class="error" ng-show="shopRegistration.inputTelephone.$error.required"></span>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="inputPh">Alterphonenumber</label>
						<div class="controls">
						<input type="text" class="span8" id="alterphone" name="alterphone" placeholder="Please Enter Telephone Number" ng-model="shop.alterphone" required >
						<span class="error" ng-show="shopRegistration.alterphone.$error.required"></span>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="location">Location</label>
						<div class="controls">
						<input type="text" class="span8" id="location" name="location" placeholder="Please Enter location" ng-model="shop.location" required >
						<span class="error" ng-show="shopRegistration.location.$error.required"></span>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="inputAddress">Address</label>
						<div class="controls">
						<textarea rows="3" class="span8" id="inputAddress" name="inputAddress" placeholder="Please Enter Address" ng-model="shop.Address" required ></textarea>
						<span class="error" ng-show="shopRegistration.inputAddress.$error.required"></span>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="pincode">Pincode</label>
						<div class="controls">
						<input type="text"  ng-pattern="/^(\d)+$/" class="span8" id="pincode" name="pincode" placeholder="Please Enter pincode" ng-model="shop.pincode" required >
						<span class="error" ng-show="shopRegistration.pincode.$error.required"></span>
						<span class="error" ng-show="shopRegistration.pincode.$error.pattern">Numbers only</span>
						</div>
					</div>
					<input type="hidden" class="span8" id="type_id" name="type_id" value="2">
					<div class="h2_title_bg reg_sub_tit"><h2>Your Password</h2></div>
					<div class="control-group">
						<label class="control-label" for="Password">Password</label>
						<div class="controls">
						<input type="password" class="span8" id="password" name="password" placeholder="Please Enter Password" ng-model="shop.password" required>
						<span class="error" ng-show="shopRegistration.password.$error.required"></span>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="ConformPassword">Conform Password</label>
						<div class="controls">
						<input type="password" class="span8" id="ConformPassword" name="ConformPassword" placeholder="Please Enter Conform Password" ng-model="shop.ConformPassword" required>
						<span class="error" ng-show="shopRegistration.ConformPassword.$error.required"></span>
						<span>{{ passwordError }}</span>
						</div>
					</div>
					<div class="control-group">
						<div class="controls">
						<button type="submit" class="medicart_btn" >SAVE</button><span ng-bind-html="regloading"></span>
						</div>
					</div>
				</form>
				 
				</div>
				</div>
			</div>
			</div>
		</div>
	</div>
	<div id="footer"></div>
	</div>